from google.appengine.api import urlfetch
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
from editable import text




class SMShome(webapp.RequestHandler):
	def get(self):
		html = text.SMS_HOME
		self.response.headers['Content-Type'] = 'text/html'
		self.response.out.write(html)


class SMSreg(webapp.RequestHandler):
	def get(self):
		html = text.SMS_REG
		self.response.headers['Content-Type'] = 'text/html'
		self.response.out.write(html)

class SMSsend(webapp.RequestHandler):
	def get(self):
		html = text.SMS_SEND
		self.response.headers['Content-Type'] = 'text/html'
		self.response.out.write(html)



apps = webapp.WSGIApplication([
				('/sms', SMShome),
				('/sms-register', SMSreg),
				('/sms-send', SMSsend)
				],
				debug=True)

def main():
	run_wsgi_app(apps)

if __name__ == "__main__":
	main()
	
	
	

